package com.eamois.service.sys.impl;

import java.util.Collection;

import com.eamois.dao.sys.InstrumentDao;
import com.eamois.domain.sys.Instrument;
import com.eamois.domain.sys.InstrumentType;
import com.eamois.domain.sys.SubMaterial;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.sys.InstrumentService;

public class InstrumentServiceImpl extends BaseServiceImpl<Instrument, InstrumentDao> implements InstrumentService{

	@Override
	public Collection<Instrument> findAllInstrument() {
		// TODO Auto-generated method stub
		return this.getDao().findAllInstrument();
	}

	@Override
	public Collection<Instrument> findInstrument(String name,String code,boolean isLike) {
		// TODO Auto-generated method stub
		return this.getDao().findInstrument(name,code,isLike);
	}

	@Override
	public Collection<Instrument> findInstrumentByType(
			InstrumentType instrumentType) {
		// TODO Auto-generated method stub
		return this.getDao().findInstrumentByType(instrumentType);
	}

	@Override
	public Collection<Instrument> findInstrument(String name,String number, String code,
			String spec,String precision, String remark,String kind) {
		// TODO Auto-generated method stub
		return this.getDao().findInstrument(name, number, code,spec,precision, remark,kind);
		}

	@Override
	public Collection<String> findInstrumentIds() {
		// TODO Auto-generated method stub
		return this.getDao().findInstrumentIds();
	}

	@Override
	public boolean findInstrument(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findInstrument(id);
	}

	@Override
	public Instrument findInstrumentById(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findInstrumentById(id);
	}

	@Override
	public Collection<Instrument> findByBelongId(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findByBelongId(id);
	}

}
